package com.kingyun.gpsinspection.purificationservice.facade.service.som;

import com.kingyun.gpsinspection.purificationservice.facade.model.som.OperatingUnitForm;
import com.kingyun.gpsinspection.purificationservice.facade.model.som.OperatingUnitStep;

import java.math.BigDecimal;
import java.util.List;

/**
 * 操作单元表单数据项
 * Created by yangcs on 2017/2/8.
 */
public interface SomOperatingUnitFormItemService {

    /**
     * 根据查询条件查询步骤信息（含结果）
     *
     * @param operatingUnitStep 查询条件
     * @param cellResultId
     * @return
     */
    List<OperatingUnitStep> getStepByParams(OperatingUnitStep operatingUnitStep, String cellResultId);

    /**
     * 根据cellId查询操作单元表单（含结果）
     *
     * @param cellId
     * @param cellResultId
     * @return
     */
    OperatingUnitForm getUnitFormByCellId(String cellId, String cellResultId, BigDecimal version);
}
